package com.kmzx.one.project.mapper;

import com.kmzx.one.project.entity.Brand;
import com.kmzx.one.project.others.dso.ProdCatePriceDso;
import com.kmzx.one.project.others.dto.BrandInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface BrandMapper {

    List<BrandInfo> selectAllBrand(@Param("rankId") String rankId);

    // 由商品id 列表查找最小的价格
    List<ProdCatePriceDso> selectProdGroupPriceList(List<String> list);

    Brand selectById(@Param("id") String id);

    List<String> selectBrandPics(@Param("id") String id);
}
